package com.logistics.modules.transportationManagement.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.logistics.modules.sys.entity.SystemcodetableEntity;
import lombok.Data;

/**
 * 
 * 
 * @author HURRICANE
 * @email HURRICANE@nb.com
 * @date 2022-05-06 18:12:10
 */
@Data
@TableName("clientorder")
@JsonIgnoreProperties(value = {"handler"})
public class ClientorderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id 自增
	 */
	@TableId
	private Integer id;
	/**
	 * 寄货人姓名
	 */
	private String consignorName;
	/**
	 * 寄货人电话
	 */
	private String consignorPhone;
	/**
	 * 起始地
	 */
	private String startAddress;
	/**
	 * 目标地
	 */
	private String endAddress;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 完成时间
	 */
	private Date finishTime;
	/**
	 * 收货人姓名
	 */
	private String consigneeName;
	/**
	 * 收货人电话
	 */
	private String consigneePhone;
	/**
	 * 订单状态: 已处理 未处理
	 */
	private Integer status = 0;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 删除状态（0，正常，1已删除）
	 */
	@TableLogic
	private Integer delFlag;

	/**
	 * 客户订单详情
	 */
	@TableField(exist = false)
	private List<ClientorderdetailsEntity> clientorderdetails;

	/**
	 * 系统代码状态
	 */
	@TableField(exist = false)
	private SystemcodetableEntity systemCodeStatus;


}
